package com.mf.entity.bo;

import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import lombok.Getter;
import lombok.Setter;

/**
 * 角色权限表
 *
 * @author mf
 * @since 2024-08-06
 */
@Getter
@ToString
@Setter
@TableName("auth_permission_by_role")

public class PermissionByRoleBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 权限id
     */
    private Integer permissionId;

    /**
     * 角色id
     */
    private Integer roleId;
}